<template>
  <!-- 插槽 、 具名插槽 -->
  <div>
    <slot name="name" />
    <div>我是组件里面的内容</div>
    <slot />
  </div>
</template>

<script>
export default {
  data() {
    return {

    };
  },
  created() {

  },
  mounted() {

  },
  methods: {

  }
};
</script>

<style scoped lang="less">

</style>
